package com.terrynoya.fight.combat
{
	import com.terrynoya.fight.char.Character;

	public class Contact
	{
		private var _attacker:Character;
		private var _target:Character;
		private var _hitDef:HitDefinition;
		private var _contactType:int;
		
		public function Contact(attacker:Character,target:Character,hitDef:HitDefinition,contactType:int)
		{
			this._attacker = attacker;
			this._target = target;
			this._hitDef = hitDef;
			this._contactType = contactType;
		}

		public function get hitDef():HitDefinition
		{
			return _hitDef;
		}

		public function get contactType():int
		{
			return _contactType;
		}

		public function set contactType(value:int):void
		{
			_contactType = value;
		}

		public function get attacker():Character
		{
			return _attacker;
		}

		public function set attacker(value:Character):void
		{
			_attacker = value;
		}

		public function get target():Character
		{
			return _target;
		}

		public function set target(value:Character):void
		{
			_target = value;
		}

		public function set hitDef(value:HitDefinition):void
		{
			_hitDef = value;
		}

	}
}